package com.oig.base.api.fallback;

import com.oig.base.api.HsGoodsService;
import com.oig.sys.base.vo.HsGoodsVo;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

import java.util.List;

@Slf4j
public class HsGoodsServiceFallBackImpl implements HsGoodsService {

    @Setter
    private Throwable cause;

    @Override
    public String getNameByHsCode(String hsCode) {
        log.error("get hsGoodsName error ", cause);
        return null;
    }

    @Override
    public HsGoodsVo getInfoByHsCode(String hsCode) {
        log.error("get hsGoods error ", cause);
        return null;
    }

    @Override
    public List<HsGoodsVo> listInfoByHsCode(List<String> hsCodeList) {
        log.error("list hsGoods error ", cause);
        return null;
    }
}
